//
//  ChooseCreditableCardModel.m
//  MRBang
//
//  Created by 铅笔 on 16/3/14.
//  Copyright © 2016年 杭州易网新科技. All rights reserved.
//

#import "ChooseCreditableCardModel.h"

@implementation ChooseCreditableCardModel

- (void) decodeDic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"applycycle"] isKindOfClass:[NSNull class]]) {
            self.applycycle = [dic objectForKey:@"applycycle"];
        }
        if (![[dic objectForKey:@"bizhong"] isKindOfClass:[NSNull class]]) {
            self.bizhong = [dic objectForKey:@"bizhong"];
        }
        if (![[dic objectForKey:@"cardid"] isKindOfClass:[NSNull class]]) {
            self.cardid = [dic objectForKey:@"cardid"];
        }
        if (![[dic objectForKey:@"img"] isKindOfClass:[NSNull class]]) {
            self.img = [dic objectForKey:@"img"];
        }
        if (![[dic objectForKey:@"iscommend"] isKindOfClass:[NSNull class]]) {
            self.iscommend = [dic objectForKey:@"iscommend"];
        }
        if (![[dic objectForKey:@"kabizhong"] isKindOfClass:[NSNull class]]) {
            self.kabizhong = [dic objectForKey:@"kabizhong"];
        }
        if (![[dic objectForKey:@"kadengji"] isKindOfClass:[NSNull class]]) {
            self.kadengji = [dic objectForKey:@"kadengji"];
        }
        if (![[dic objectForKey:@"kazuzhi"] isKindOfClass:[NSNull class]]) {
            self.kazuzhi = [dic objectForKey:@"kazuzhi"];
        }
        
        if (![[dic objectForKey:@"limitmax"] isKindOfClass:[NSNull class]]) {
            self.limitmax = [dic objectForKey:@"limitmax"];
        }
        if (![[dic objectForKey:@"limitmin"] isKindOfClass:[NSNull class]]) {
            self.limitmin = [dic objectForKey:@"limitmin"];
        }
        if (![[dic objectForKey:@"name"] isKindOfClass:[NSNull class]]) {
            self.name = [dic objectForKey:@"name"];
        }
        if (![[dic objectForKey:@"simg"] isKindOfClass:[NSNull class]]) {
            self.simg = [dic objectForKey:@"simg"];
        }
        if (![[dic objectForKey:@"successrate"] isKindOfClass:[NSNull class]]) {
            self.successrate = [dic objectForKey:@"successrate"];
        }
        if (![[dic objectForKey:@"creditcardcardid"] isKindOfClass:[NSNull class]]) {
            self.creditcardcardid = [dic objectForKey:@"creditcardcardid"];
        }
    }
}



@end
